class Activity < ActiveRecord::Base
  belongs_to :tracker
  has_many :tasks

  def evaluate_tasks_for(ticket)
    if (ticket.tracker == self.tracker)
      # find _tasks in :tasks <= task.ticket == ticket
      # if _tasks == nil
        # create a task for ticket
      # end

    end
  end
end
